﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Secure/Secure.Master" AutoEventWireup="true" CodeBehind="Remove User.aspx.cs" Inherits="Site.Secure.Remove_User" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<h1>Remove User</h1>
<a>This page allows you to remove users that are allowed to view this website</a>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h3>Remove User</h3>
<a>Username: 
    <asp:DropDownList ID="DropDownList1" runat="server" 
        DataSourceID="SqlDataSource1" DataTextField="userID" DataValueField="userID">
    </asp:DropDownList>
    <asp:Button ID="Button1" runat="server" Text="Remove" onclick="Button1_Click" /></a>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:csMain %>" 
        SelectCommand="SELECT * FROM Users WHERE userHidden='False'" 
        ProviderName="System.Data.SqlClient">
    </asp:SqlDataSource>
</asp:Content>
